package com.car.entity;

import java.util.ArrayList;
import java.util.List;

public class BasicInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BasicInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceIsNull() {
            addCriterion("default_price is null");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceIsNotNull() {
            addCriterion("default_price is not null");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceEqualTo(String value) {
            addCriterion("default_price =", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceNotEqualTo(String value) {
            addCriterion("default_price <>", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceGreaterThan(String value) {
            addCriterion("default_price >", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceGreaterThanOrEqualTo(String value) {
            addCriterion("default_price >=", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceLessThan(String value) {
            addCriterion("default_price <", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceLessThanOrEqualTo(String value) {
            addCriterion("default_price <=", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceLike(String value) {
            addCriterion("default_price like", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceNotLike(String value) {
            addCriterion("default_price not like", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceIn(List<String> values) {
            addCriterion("default_price in", values, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceNotIn(List<String> values) {
            addCriterion("default_price not in", values, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceBetween(String value1, String value2) {
            addCriterion("default_price between", value1, value2, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceNotBetween(String value1, String value2) {
            addCriterion("default_price not between", value1, value2, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceIsNull() {
            addCriterion("area_price is null");
            return (Criteria) this;
        }

        public Criteria andAreaPriceIsNotNull() {
            addCriterion("area_price is not null");
            return (Criteria) this;
        }

        public Criteria andAreaPriceEqualTo(String value) {
            addCriterion("area_price =", value, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceNotEqualTo(String value) {
            addCriterion("area_price <>", value, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceGreaterThan(String value) {
            addCriterion("area_price >", value, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceGreaterThanOrEqualTo(String value) {
            addCriterion("area_price >=", value, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceLessThan(String value) {
            addCriterion("area_price <", value, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceLessThanOrEqualTo(String value) {
            addCriterion("area_price <=", value, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceLike(String value) {
            addCriterion("area_price like", value, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceNotLike(String value) {
            addCriterion("area_price not like", value, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceIn(List<String> values) {
            addCriterion("area_price in", values, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceNotIn(List<String> values) {
            addCriterion("area_price not in", values, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceBetween(String value1, String value2) {
            addCriterion("area_price between", value1, value2, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andAreaPriceNotBetween(String value1, String value2) {
            addCriterion("area_price not between", value1, value2, "areaPrice");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeIsNull() {
            addCriterion("release_time is null");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeIsNotNull() {
            addCriterion("release_time is not null");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeEqualTo(String value) {
            addCriterion("release_time =", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeNotEqualTo(String value) {
            addCriterion("release_time <>", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeGreaterThan(String value) {
            addCriterion("release_time >", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeGreaterThanOrEqualTo(String value) {
            addCriterion("release_time >=", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeLessThan(String value) {
            addCriterion("release_time <", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeLessThanOrEqualTo(String value) {
            addCriterion("release_time <=", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeLike(String value) {
            addCriterion("release_time like", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeNotLike(String value) {
            addCriterion("release_time not like", value, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeIn(List<String> values) {
            addCriterion("release_time in", values, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeNotIn(List<String> values) {
            addCriterion("release_time not in", values, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeBetween(String value1, String value2) {
            addCriterion("release_time between", value1, value2, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andReleaseTimeNotBetween(String value1, String value2) {
            addCriterion("release_time not between", value1, value2, "releaseTime");
            return (Criteria) this;
        }

        public Criteria andBodyTypeIsNull() {
            addCriterion("body_type is null");
            return (Criteria) this;
        }

        public Criteria andBodyTypeIsNotNull() {
            addCriterion("body_type is not null");
            return (Criteria) this;
        }

        public Criteria andBodyTypeEqualTo(String value) {
            addCriterion("body_type =", value, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeNotEqualTo(String value) {
            addCriterion("body_type <>", value, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeGreaterThan(String value) {
            addCriterion("body_type >", value, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeGreaterThanOrEqualTo(String value) {
            addCriterion("body_type >=", value, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeLessThan(String value) {
            addCriterion("body_type <", value, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeLessThanOrEqualTo(String value) {
            addCriterion("body_type <=", value, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeLike(String value) {
            addCriterion("body_type like", value, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeNotLike(String value) {
            addCriterion("body_type not like", value, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeIn(List<String> values) {
            addCriterion("body_type in", values, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeNotIn(List<String> values) {
            addCriterion("body_type not in", values, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeBetween(String value1, String value2) {
            addCriterion("body_type between", value1, value2, "bodyType");
            return (Criteria) this;
        }

        public Criteria andBodyTypeNotBetween(String value1, String value2) {
            addCriterion("body_type not between", value1, value2, "bodyType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeIsNull() {
            addCriterion("power_type is null");
            return (Criteria) this;
        }

        public Criteria andPowerTypeIsNotNull() {
            addCriterion("power_type is not null");
            return (Criteria) this;
        }

        public Criteria andPowerTypeEqualTo(String value) {
            addCriterion("power_type =", value, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeNotEqualTo(String value) {
            addCriterion("power_type <>", value, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeGreaterThan(String value) {
            addCriterion("power_type >", value, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeGreaterThanOrEqualTo(String value) {
            addCriterion("power_type >=", value, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeLessThan(String value) {
            addCriterion("power_type <", value, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeLessThanOrEqualTo(String value) {
            addCriterion("power_type <=", value, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeLike(String value) {
            addCriterion("power_type like", value, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeNotLike(String value) {
            addCriterion("power_type not like", value, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeIn(List<String> values) {
            addCriterion("power_type in", values, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeNotIn(List<String> values) {
            addCriterion("power_type not in", values, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeBetween(String value1, String value2) {
            addCriterion("power_type between", value1, value2, "powerType");
            return (Criteria) this;
        }

        public Criteria andPowerTypeNotBetween(String value1, String value2) {
            addCriterion("power_type not between", value1, value2, "powerType");
            return (Criteria) this;
        }

        public Criteria andEngineIsNull() {
            addCriterion("engine is null");
            return (Criteria) this;
        }

        public Criteria andEngineIsNotNull() {
            addCriterion("engine is not null");
            return (Criteria) this;
        }

        public Criteria andEngineEqualTo(String value) {
            addCriterion("engine =", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineNotEqualTo(String value) {
            addCriterion("engine <>", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineGreaterThan(String value) {
            addCriterion("engine >", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineGreaterThanOrEqualTo(String value) {
            addCriterion("engine >=", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineLessThan(String value) {
            addCriterion("engine <", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineLessThanOrEqualTo(String value) {
            addCriterion("engine <=", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineLike(String value) {
            addCriterion("engine like", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineNotLike(String value) {
            addCriterion("engine not like", value, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineIn(List<String> values) {
            addCriterion("engine in", values, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineNotIn(List<String> values) {
            addCriterion("engine not in", values, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineBetween(String value1, String value2) {
            addCriterion("engine between", value1, value2, "engine");
            return (Criteria) this;
        }

        public Criteria andEngineNotBetween(String value1, String value2) {
            addCriterion("engine not between", value1, value2, "engine");
            return (Criteria) this;
        }

        public Criteria andMaxPowerIsNull() {
            addCriterion("max_power is null");
            return (Criteria) this;
        }

        public Criteria andMaxPowerIsNotNull() {
            addCriterion("max_power is not null");
            return (Criteria) this;
        }

        public Criteria andMaxPowerEqualTo(String value) {
            addCriterion("max_power =", value, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerNotEqualTo(String value) {
            addCriterion("max_power <>", value, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerGreaterThan(String value) {
            addCriterion("max_power >", value, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerGreaterThanOrEqualTo(String value) {
            addCriterion("max_power >=", value, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerLessThan(String value) {
            addCriterion("max_power <", value, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerLessThanOrEqualTo(String value) {
            addCriterion("max_power <=", value, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerLike(String value) {
            addCriterion("max_power like", value, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerNotLike(String value) {
            addCriterion("max_power not like", value, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerIn(List<String> values) {
            addCriterion("max_power in", values, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerNotIn(List<String> values) {
            addCriterion("max_power not in", values, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerBetween(String value1, String value2) {
            addCriterion("max_power between", value1, value2, "maxPower");
            return (Criteria) this;
        }

        public Criteria andMaxPowerNotBetween(String value1, String value2) {
            addCriterion("max_power not between", value1, value2, "maxPower");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeIsNull() {
            addCriterion("speed_type is null");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeIsNotNull() {
            addCriterion("speed_type is not null");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeEqualTo(String value) {
            addCriterion("speed_type =", value, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeNotEqualTo(String value) {
            addCriterion("speed_type <>", value, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeGreaterThan(String value) {
            addCriterion("speed_type >", value, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeGreaterThanOrEqualTo(String value) {
            addCriterion("speed_type >=", value, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeLessThan(String value) {
            addCriterion("speed_type <", value, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeLessThanOrEqualTo(String value) {
            addCriterion("speed_type <=", value, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeLike(String value) {
            addCriterion("speed_type like", value, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeNotLike(String value) {
            addCriterion("speed_type not like", value, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeIn(List<String> values) {
            addCriterion("speed_type in", values, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeNotIn(List<String> values) {
            addCriterion("speed_type not in", values, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeBetween(String value1, String value2) {
            addCriterion("speed_type between", value1, value2, "speedType");
            return (Criteria) this;
        }

        public Criteria andSpeedTypeNotBetween(String value1, String value2) {
            addCriterion("speed_type not between", value1, value2, "speedType");
            return (Criteria) this;
        }

        public Criteria andMixingIsNull() {
            addCriterion("mixing is null");
            return (Criteria) this;
        }

        public Criteria andMixingIsNotNull() {
            addCriterion("mixing is not null");
            return (Criteria) this;
        }

        public Criteria andMixingEqualTo(String value) {
            addCriterion("mixing =", value, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingNotEqualTo(String value) {
            addCriterion("mixing <>", value, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingGreaterThan(String value) {
            addCriterion("mixing >", value, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingGreaterThanOrEqualTo(String value) {
            addCriterion("mixing >=", value, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingLessThan(String value) {
            addCriterion("mixing <", value, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingLessThanOrEqualTo(String value) {
            addCriterion("mixing <=", value, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingLike(String value) {
            addCriterion("mixing like", value, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingNotLike(String value) {
            addCriterion("mixing not like", value, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingIn(List<String> values) {
            addCriterion("mixing in", values, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingNotIn(List<String> values) {
            addCriterion("mixing not in", values, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingBetween(String value1, String value2) {
            addCriterion("mixing between", value1, value2, "mixing");
            return (Criteria) this;
        }

        public Criteria andMixingNotBetween(String value1, String value2) {
            addCriterion("mixing not between", value1, value2, "mixing");
            return (Criteria) this;
        }

        public Criteria andSpeedUpIsNull() {
            addCriterion("speed_up is null");
            return (Criteria) this;
        }

        public Criteria andSpeedUpIsNotNull() {
            addCriterion("speed_up is not null");
            return (Criteria) this;
        }

        public Criteria andSpeedUpEqualTo(String value) {
            addCriterion("speed_up =", value, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpNotEqualTo(String value) {
            addCriterion("speed_up <>", value, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpGreaterThan(String value) {
            addCriterion("speed_up >", value, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpGreaterThanOrEqualTo(String value) {
            addCriterion("speed_up >=", value, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpLessThan(String value) {
            addCriterion("speed_up <", value, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpLessThanOrEqualTo(String value) {
            addCriterion("speed_up <=", value, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpLike(String value) {
            addCriterion("speed_up like", value, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpNotLike(String value) {
            addCriterion("speed_up not like", value, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpIn(List<String> values) {
            addCriterion("speed_up in", values, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpNotIn(List<String> values) {
            addCriterion("speed_up not in", values, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpBetween(String value1, String value2) {
            addCriterion("speed_up between", value1, value2, "speedUp");
            return (Criteria) this;
        }

        public Criteria andSpeedUpNotBetween(String value1, String value2) {
            addCriterion("speed_up not between", value1, value2, "speedUp");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedIsNull() {
            addCriterion("max_speed is null");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedIsNotNull() {
            addCriterion("max_speed is not null");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedEqualTo(String value) {
            addCriterion("max_speed =", value, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedNotEqualTo(String value) {
            addCriterion("max_speed <>", value, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedGreaterThan(String value) {
            addCriterion("max_speed >", value, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedGreaterThanOrEqualTo(String value) {
            addCriterion("max_speed >=", value, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedLessThan(String value) {
            addCriterion("max_speed <", value, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedLessThanOrEqualTo(String value) {
            addCriterion("max_speed <=", value, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedLike(String value) {
            addCriterion("max_speed like", value, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedNotLike(String value) {
            addCriterion("max_speed not like", value, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedIn(List<String> values) {
            addCriterion("max_speed in", values, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedNotIn(List<String> values) {
            addCriterion("max_speed not in", values, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedBetween(String value1, String value2) {
            addCriterion("max_speed between", value1, value2, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andMaxSpeedNotBetween(String value1, String value2) {
            addCriterion("max_speed not between", value1, value2, "maxSpeed");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalIsNull() {
            addCriterion("environmental is null");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalIsNotNull() {
            addCriterion("environmental is not null");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalEqualTo(String value) {
            addCriterion("environmental =", value, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalNotEqualTo(String value) {
            addCriterion("environmental <>", value, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalGreaterThan(String value) {
            addCriterion("environmental >", value, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalGreaterThanOrEqualTo(String value) {
            addCriterion("environmental >=", value, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalLessThan(String value) {
            addCriterion("environmental <", value, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalLessThanOrEqualTo(String value) {
            addCriterion("environmental <=", value, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalLike(String value) {
            addCriterion("environmental like", value, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalNotLike(String value) {
            addCriterion("environmental not like", value, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalIn(List<String> values) {
            addCriterion("environmental in", values, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalNotIn(List<String> values) {
            addCriterion("environmental not in", values, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalBetween(String value1, String value2) {
            addCriterion("environmental between", value1, value2, "environmental");
            return (Criteria) this;
        }

        public Criteria andEnvironmentalNotBetween(String value1, String value2) {
            addCriterion("environmental not between", value1, value2, "environmental");
            return (Criteria) this;
        }

        public Criteria andProtectionIsNull() {
            addCriterion("protection is null");
            return (Criteria) this;
        }

        public Criteria andProtectionIsNotNull() {
            addCriterion("protection is not null");
            return (Criteria) this;
        }

        public Criteria andProtectionEqualTo(String value) {
            addCriterion("protection =", value, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionNotEqualTo(String value) {
            addCriterion("protection <>", value, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionGreaterThan(String value) {
            addCriterion("protection >", value, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionGreaterThanOrEqualTo(String value) {
            addCriterion("protection >=", value, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionLessThan(String value) {
            addCriterion("protection <", value, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionLessThanOrEqualTo(String value) {
            addCriterion("protection <=", value, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionLike(String value) {
            addCriterion("protection like", value, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionNotLike(String value) {
            addCriterion("protection not like", value, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionIn(List<String> values) {
            addCriterion("protection in", values, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionNotIn(List<String> values) {
            addCriterion("protection not in", values, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionBetween(String value1, String value2) {
            addCriterion("protection between", value1, value2, "protection");
            return (Criteria) this;
        }

        public Criteria andProtectionNotBetween(String value1, String value2) {
            addCriterion("protection not between", value1, value2, "protection");
            return (Criteria) this;
        }

        public Criteria andColorIsNull() {
            addCriterion("color is null");
            return (Criteria) this;
        }

        public Criteria andColorIsNotNull() {
            addCriterion("color is not null");
            return (Criteria) this;
        }

        public Criteria andColorEqualTo(String value) {
            addCriterion("color =", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotEqualTo(String value) {
            addCriterion("color <>", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorGreaterThan(String value) {
            addCriterion("color >", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorGreaterThanOrEqualTo(String value) {
            addCriterion("color >=", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLessThan(String value) {
            addCriterion("color <", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLessThanOrEqualTo(String value) {
            addCriterion("color <=", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLike(String value) {
            addCriterion("color like", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotLike(String value) {
            addCriterion("color not like", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorIn(List<String> values) {
            addCriterion("color in", values, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotIn(List<String> values) {
            addCriterion("color not in", values, "color");
            return (Criteria) this;
        }

        public Criteria andColorBetween(String value1, String value2) {
            addCriterion("color between", value1, value2, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotBetween(String value1, String value2) {
            addCriterion("color not between", value1, value2, "color");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}